// This is the main DLL file.

#include "stdafx.h"

#include "QIPMailBuPlugin.h"

namespace MailHistory  {

	MailHistoryPlugin* plugin = NULL;

	void   SettingsWhereChanged(String ^data){
		if(plugin != NULL)
		{
			plugin->SettingsWhereChanged(data);
		}
	}

#pragma unmanaged

	void __stdcall	CreateInfiumPLUGIN(IQIPPlugin** Result, IQIPPluginService* PluginService)
	{
		*Result = plugin = new MailHistory::MailHistoryPlugin(PluginService);
	}

}